<template>
  <div>
    <nav-layout :layout="layout"></nav-layout>
    <edayun v-if="layout.indexof === 0"></edayun>
    <winit v-else></winit>
  </div>
</template>
<script>
import navLayout from "@/views/NavLayout";
import edayun from "./edayun";
import winit from "./winit";
export default {
  data() {
    return {
      layout: {
        nav: ["易达云", "万邑通"],
        indexof: 0
      }
    };
  },
  components: {
    navLayout,
    edayun,
    winit
  }
};
</script>